import { AbortType } from '../Enum'
import BTNode from './BTNode'
import BTParent from './BTParent'

export default abstract class BTComposite extends BTParent {
  abortType: AbortType

  constructor(childrens: BTNode[] = [], abortType: AbortType = AbortType.None) {
    super(childrens)
    this.abortType = abortType
  }
}
